﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DAL
{
   public class ParticipantInfoServices
    {
        public static bool participantAdd(ParticipantInfo participantInfo)
        {
            //执行添加数据处理
            string sql = string.Format("insert into users values('{0}','{1}','{2}','{3}','{4}','{5}')", participantInfo.participantName, participantInfo.participantPic, participantInfo.participantShow, participantInfo.participantAttach, participantInfo.participantPhone, participantInfo.participantQQ);
            return DBHelper.ExecuteNonQuery(sql);
        }
    }
}